package com.ffalcon.mercury.android.sdk.demo.api;


import java.util.List;
import java.util.Map;

import io.reactivex.rxjava3.core.Single;


import retrofit2.http.Body;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.Query;


public interface ApiService {

    @GET("/system/WorkIp/local-ipA")
    Single<BaseBean<List<IPInfoBean>>> getIp(@Query("taskId") String id);


    @POST("/system/WorkIp/editStatus")
    Single<IpResponse> setState(@Body Map<Object, Object> ma);


    @GET("/system/text/getInfo")
    Single<BaseBean< IpResponse>> getInfo( );
}
